FROM openjdk-8

MAINTAINER wdl

LABEL description='系统后台'

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && mkdir /usr/local/service-center

WORKDIR /usr/local/service-center

EXPOSE 10153

ADD maven/business-bed.jar app.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","app.jar","--spring.profiles.active=pro"]